<%--
  Created by IntelliJ IDEA.
  User: gjp
  Date: 2017-6-6
  Time: 15:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html lang="zh">
<head>
    <title>登录</title>
    <link href="<%=basePath%>static/css/style.css" rel='stylesheet'/>
</head>
<body>
<h1><font color="red">${error}</font></h1>
<div class="login-form">
    <form action="/doLogin" method="post">
        <input type="text" class="text" name="username">
        <div class="key">
            <input type="password" name="password">
        </div>
        <div class="signin">
            <input type="submit" value="登录" >
        </div>
    </form>
</div>
</body>
</html>
